#include "Navagator.h"

Navagator::Navagator( QWidget* parent )
	: QTabWidget( parent )
{
	mProgramManager = new ProgramManager( this );
	addTab( mProgramManager, "Programs" );

	mCourseManager = new CourseManager( this );
	addTab( mCourseManager, "Courses" );

	mFacultyManager = new FacultyManager( this );
	addTab( mFacultyManager, "Faculty" );

	mRoomManager = new RoomManager( this );
	addTab( mRoomManager, "Rooms" );

	mScheduleManager = ScheduleManager::instance();
	addTab( mScheduleManager, "Schedules" );
}

Navagator::~Navagator()
{
}